package cn.edu.gduf.luowowo.flight.query;

import cn.edu.gduf.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class FlightQueryObject extends QueryObject {
    private Long startDestId = -1L;
    private Long endflyDestId = -1L;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String depTime;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endTime;
    private int type = 1;
    private String orderBy;
}
